import SelectorControl, { type ISelectorView } from '.';
import { type Option } from '../../types';
import BpmnControlService from '../bpmn/service';

class SelectorService extends BpmnControlService<string> implements ISelectorView {

  component = SelectorControl;

  options: Option[] = [];

  value: string = '';

  constructor({ label, field, options }: { label: string, field?: string, options: Option[]; }) {
    super({ label, field });
    this.options = options;
  }

  // render() {
  //     return <div>
  //       {this.label}:<Input />
  //     </div>;
  // }
}

export default SelectorService;
